package com.dc.designPattern._999_multi_pattern.demo_1.price;

import com.dc.designPattern._999_multi_pattern.demo_1.price.anno.PriceRegion;

/**
 * Description: 黄金VIP价格类型（30000<=消费）
 * @author: gdc
 * @date: 2021/6/10
 * @version 1.0
 */
@PriceRegion(min = 30000)
public class GoldVip implements CalPrice {
    @Override
    public Double calPrice(Double originalPrice) {
        return originalPrice * 0.7;
    }
}
